#ifndef _EPOLLSERVER_H_
#define _EPOLLSERVER_H_

class Server;
class BaseSocket;

typedef void (*pfnHandle)(Server*, BaseSocket&);

Server* createEpollServer(int num, pfnHandle AEnter, pfnHandle AClose, pfnHandle ARecved);

#endif
